package org.flyer.toolFrame;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class ToolFrameApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(ToolFrameApplication.class, args);
        Index index = (Index) context.getBean("index");
        index.menu();
    }

}
